Matthias Clasen [Tue, 1 Sep 2020 12:36:45 +0000 (08:36 -0400)]
gsk: Add some private transform apis
Some of the graphene_matrix_transform apis don't work
correctly with projective matrices, so add our own
variants.
Matthias Clasen [Mon, 31 Aug 2020 21:17:21 +0000 (21:17 +0000)]
Merge branch 'adwaita-more-border-spacing' into 'master'
Adwaita: Add border-spacing to some container widgets and style classes (properly)
See merge request GNOME/gtk!2479
Matej Urbančič [Mon, 31 Aug 2020 19:53:05 +0000 (21:53 +0200)]
Updated Slovenian translation
Matej Urbančič [Mon, 31 Aug 2020 19:50:01 +0000 (21:50 +0200)]
Updated Slovenian translation
Matthias Clasen [Mon, 31 Aug 2020 17:37:52 +0000 (13:37 -0400)]
NEWS: Updates
Matthias Clasen [Mon, 31 Aug 2020 16:30:21 +0000 (16:30 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'
Wip/baedert/for master
Closes #2777
See merge request GNOME/gtk!2503
Matthias Clasen [Mon, 31 Aug 2020 16:17:05 +0000 (16:17 +0000)]
Merge branch 'fix_resource_leak_in_gdkdisplayclose_gtk4' into 'master'
Fix resource leak in gdk_display_close() under Wayland
See merge request GNOME/gtk!2511
Matthias Clasen [Mon, 31 Aug 2020 16:05:53 +0000 (12:05 -0400)]
pagesetupdialog: Just use labels in check buttons
Check buttons lost their ability to hold general
content. And while that is maybe sad, the tiny
images here are not really useful anyway, and
should just go away.
Julien Ropé [Mon, 31 Aug 2020 15:26:18 +0000 (17:26 +0200)]
Fix resource leak in gdk_display_close() under Wayland
When using the gdk_display_close(), the handle to the Wayland compositor was not released. This could cause the consumption of all available handles, preventing other processes from accessing the display.
Fixing this by calling wl_display_disconnect() when releasing the GdkWaylandDisplay object.
Signed-off-by: Julien Ropé <jrope@redhat.com>
Matthias Clasen [Mon, 31 Aug 2020 14:50:14 +0000 (10:50 -0400)]
Fix a typo
sicklylife [Mon, 31 Aug 2020 14:36:14 +0000 (14:36 +0000)]
Update Japanese translation
sicklylife [Mon, 31 Aug 2020 14:30:59 +0000 (14:30 +0000)]
Update Japanese translation
Boyuan Yang [Mon, 31 Aug 2020 13:44:27 +0000 (13:44 +0000)]
Update Chinese (China) translation
Matthias Clasen [Mon, 31 Aug 2020 12:20:25 +0000 (08:20 -0400)]
Fix up the focus-chain tests
Several typos here, and some of the expected
output changes due to widget class changes.
Matthias Clasen [Mon, 31 Aug 2020 12:13:20 +0000 (08:13 -0400)]
doc shooter: Remove radio button remnants
Rafael Fontenelle [Mon, 31 Aug 2020 11:12:54 +0000 (11:12 +0000)]
Update Brazilian Portuguese translation
Jakub Steiner [Mon, 31 Aug 2020 09:27:29 +0000 (11:27 +0200)]
Merge branch 'nana-4/gtk-fix-circular-button-styling'
nana-4 [Fri, 28 Aug 2020 12:56:30 +0000 (21:56 +0900)]
Adwaita: Ensure button.circular is a perfect circle
It seems the commit
9d60047616661dc073ca6310193c2e18a3aaa59c had no
effect, even on image buttons.
Jakub Steiner [Mon, 17 Aug 2020 11:18:07 +0000 (13:18 +0200)]
Adwaita: rich-list styling
FIXME: why is the second list in Demo>List Box>Controls taller?
Yuri Chornoivan [Mon, 31 Aug 2020 06:13:57 +0000 (06:13 +0000)]
Update Ukrainian translation
Kukuh Syafaat [Mon, 31 Aug 2020 06:04:08 +0000 (06:04 +0000)]
Update Indonesian translation
Kukuh Syafaat [Mon, 31 Aug 2020 06:02:57 +0000 (06:02 +0000)]
Update Indonesian translation
Matthias Clasen [Mon, 31 Aug 2020 02:25:56 +0000 (22:25 -0400)]
migration guide: Mention button hierarchy changes
Matthias Clasen [Mon, 31 Aug 2020 02:25:36 +0000 (22:25 -0400)]
Drop GtkRadioButton
Matthias Clasen [Mon, 31 Aug 2020 01:07:20 +0000 (21:07 -0400)]
builder-tool: Replace radio buttons by check buttons
For --3to4, replace GtkRadioButton by either GtkCheckButton
or GtkToggleButton, depending on the value of :draw-indicator.
Update the testsuite to cover this.
Matthias Clasen [Mon, 31 Aug 2020 02:17:02 +0000 (22:17 -0400)]
widget-factory: Stop using radio buttons
Use grouped toggle buttons for the view switcher
on page 2.
Matthias Clasen [Mon, 31 Aug 2020 01:51:20 +0000 (21:51 -0400)]
iconbrowser: Stop using radio buttons
Replace them with grouped toggle buttons.
Matthias Clasen [Mon, 31 Aug 2020 01:50:45 +0000 (21:50 -0400)]
fontrendering demo: Stop using radio buttons
Replace them with grouped toggled buttons.
Matthias Clasen [Mon, 31 Aug 2020 01:48:00 +0000 (21:48 -0400)]
togglebutton: Add grouping
This is the replacement for groups of radiobuttons
with draw-indicator = FALSE.
Matthias Clasen [Mon, 31 Aug 2020 00:59:05 +0000 (20:59 -0400)]
Remove GtkRadioButton uses in ui files in tests
Matthias Clasen [Mon, 31 Aug 2020 00:57:25 +0000 (20:57 -0400)]
Remove GtkRadioButton references in the docs
Matthias Clasen [Sun, 30 Aug 2020 23:36:27 +0000 (19:36 -0400)]
Clean up uses of gtk_toggle_button_get/set_active
Replace all uses on check buttons by the corresponding
check button api.
Matthias Clasen [Sun, 30 Aug 2020 22:56:35 +0000 (18:56 -0400)]
docs: Update the gallery image for check buttons
Show grouped and ungrouped check buttons.
Matthias Clasen [Sun, 30 Aug 2020 22:55:47 +0000 (18:55 -0400)]
doc shooter: Drop radio buttons
Instead, show grouped checkbuttons.
Matthias Clasen [Sun, 30 Aug 2020 22:54:53 +0000 (18:54 -0400)]
build: The doc shooter works without x11 now
No need to restrict the build to just x11.
We're not using pixmaps anymore.
Matthias Clasen [Sun, 30 Aug 2020 22:43:33 +0000 (18:43 -0400)]
Drop a long-dead test
We don't parse rc files anymore. Time for testrc.c to go.
Matthias Clasen [Sun, 30 Aug 2020 22:21:48 +0000 (18:21 -0400)]
tests: Stop using radio buttons
Use grouped check buttons.
Matthias Clasen [Sun, 30 Aug 2020 22:21:22 +0000 (18:21 -0400)]
checkbutton: Reuse a helper function
Matthias Clasen [Sun, 30 Aug 2020 22:19:05 +0000 (18:19 -0400)]
checkbutton: Fix clicking on the last group member
Clicking on the last group member was letting me
uncheck it, creating a radio group without active
item, which is not what we want.
Matthias Clasen [Sun, 30 Aug 2020 21:57:35 +0000 (17:57 -0400)]
pagesetupdialog: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:56:11 +0000 (17:56 -0400)]
stackswitcher: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:55:54 +0000 (17:55 -0400)]
inspector: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:55:13 +0000 (17:55 -0400)]
checkbutton: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:51:21 +0000 (17:51 -0400)]
mountoperation: Stop using radio buttons
Use grouped check buttons instead.
Matthias Clasen [Sun, 30 Aug 2020 21:43:00 +0000 (17:43 -0400)]
printeroptionwidget: Stop using radio buttons
Use grouped check buttons instead.
Matthias Clasen [Mon, 31 Aug 2020 01:21:38 +0000 (21:21 -0400)]
gtk-demo: Fix up the fontrendering demo
Matthias Clasen [Sun, 30 Aug 2020 22:01:45 +0000 (22:01 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3104
See merge request GNOME/gtk!2507
Matthias Clasen [Sun, 30 Aug 2020 21:35:53 +0000 (17:35 -0400)]
gtk-demo: Port to font explorer to grouped checkbuttons
Stop using radio buttons here.
Matthias Clasen [Sun, 30 Aug 2020 21:05:43 +0000 (17:05 -0400)]
widget-factory: Fix up radio buttons
Keep calling them radiobutton, since that is what they are.
And make the insensitive second group of three match what
we have in gtk3-widget-factory, and be parallel to the
insensitive checkbuttons next to it.
Matthias Clasen [Sun, 30 Aug 2020 21:00:15 +0000 (17:00 -0400)]
printdialog: Make collate image smaller
This matches the appearance on GTK 3, and prevents
the checkbuttons next to the image from being spaced
out.
Matthias Clasen [Sun, 30 Aug 2020 20:58:17 +0000 (16:58 -0400)]
printdialog: Fix radio groups
We need to use grouped checkbuttons now.
Matthias Clasen [Sun, 30 Aug 2020 20:41:02 +0000 (16:41 -0400)]
fontchooser: Fix radio groups for features
We need to use grouped checkbuttons now.
Matthias Clasen [Sun, 30 Aug 2020 17:14:55 +0000 (13:14 -0400)]
Better fontconfig suppression
Matthias Clasen [Sun, 30 Aug 2020 17:11:39 +0000 (13:11 -0400)]
inspector: Add some translator comments
Some of the strings we have here are hard to translate,
so leave some hints, and some context.
Fixes: #3104
Matthias Clasen [Sun, 30 Aug 2020 12:59:13 +0000 (08:59 -0400)]
inspector: Add a dark background to the recorder
Add a button to toggle the background in the node
view between dark and light. This helps to discern
the borders of some nodes.
Matthias Clasen [Sun, 30 Aug 2020 12:34:30 +0000 (08:34 -0400)]
Another attempt to make circular buttons square
circular button, square hole...
Matthias Clasen [Sun, 30 Aug 2020 12:29:24 +0000 (12:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3098
See merge request GNOME/gtk!2506
Bruce Cowan [Sun, 30 Aug 2020 11:46:48 +0000 (11:46 +0000)]
Update British English translation
Asier Sarasua Garmendia [Sun, 30 Aug 2020 10:26:53 +0000 (10:26 +0000)]
Update Basque translation
Asier Sarasua Garmendia [Sun, 30 Aug 2020 10:23:55 +0000 (10:23 +0000)]
Update Basque translation
Matthias Clasen [Sat, 29 Aug 2020 20:42:30 +0000 (16:42 -0400)]
gtk-demo: Cosmetic change to the css shadows demo
Make the text view in the bottom take up the bulk
of the window, as it used to be.
Matthias Clasen [Sat, 29 Aug 2020 20:29:28 +0000 (16:29 -0400)]
page setup dialog: Prevent cascading paper dialogs
We trigger the paper dialog when the "manage" item
in the dropdown is selected. But the selection also
changes due to internal changes, such as reloading
the custom paper list when the paper dialog is
closed. We need to be extra careful to avoid triggering
another paper dialog when that happens.
Fixes: #3098
Matthias Clasen [Sat, 29 Aug 2020 20:00:01 +0000 (16:00 -0400)]
print dialog: Prevent cascading paper dialogs
We trigger the paper dialog when the "manage" item
in the dropdown is selected. But the selection also
changes due to internal changes, such as reloading
the custom paper list when the paper dialog is
closed. We need to be extra careful to avoid triggering
another paper dialog when that happens.
Matthias Clasen [Sat, 29 Aug 2020 17:37:18 +0000 (17:37 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!2504
Matthias Clasen [Sat, 29 Aug 2020 16:12:09 +0000 (12:12 -0400)]
css: Fix parsing of scientific notation
The parser got its chars mixed up while parsing numbers
like 2.3e-04. While it is unlikely to meet such numbers
in human-generated css, we do have them e.g. when saving
render node trees with transforms.
Also add some css parser tests for number parsing.
Boyuan Yang [Sat, 29 Aug 2020 15:22:48 +0000 (15:22 +0000)]
Update Chinese (China) translation
Timm Bäder [Fri, 7 Aug 2020 03:45:30 +0000 (05:45 +0200)]
Change button hierarchy
A radiobutton without indicator is really just a togglebutton with a
group.
A radiobutton with indicator is really just a checkbutton with a group.
Make checkbutton its own widget not inheriting from GtkButton.
GtkRadioButton could be removed but it stays for now.
Radiobutton && !draw-indicator => Togglebutton
Checkbutton && !draw-indicator => Togglebutton
Radiobutton && draw-indicator => CheckButton + group
Timm Bäder [Sat, 29 Aug 2020 10:03:20 +0000 (12:03 +0200)]
rendernodes: Whitespace
Timm Bäder [Sat, 29 Aug 2020 09:38:07 +0000 (11:38 +0200)]
wayland: Fix a GSettingsSchema leak
Timm Bäder [Sat, 29 Aug 2020 09:30:45 +0000 (11:30 +0200)]
gl renderer: Adjust gaussian blur sigma
To look more like what browsers do.
Timm Bäder [Sat, 29 Aug 2020 09:29:55 +0000 (11:29 +0200)]
testoutsetshadowdrawing: Make window background white
This makes it easier to compare the rendering with other sources.
Timm Bäder [Fri, 7 Aug 2020 04:43:06 +0000 (06:43 +0200)]
gl: Adjust blur radius_multiplier
2.0 Looks much closer to what my browser does.
Fixes #2777
Boyuan Yang [Sat, 29 Aug 2020 14:19:45 +0000 (14:19 +0000)]
Update Chinese (China) translation
Timm Bäder [Sat, 22 Aug 2020 15:30:30 +0000 (17:30 +0200)]
icon-browser: Add .navigation-sidebar to sidebar
Timm Bäder [Fri, 21 Aug 2020 03:41:07 +0000 (05:41 +0200)]
gdkcairoprivate: Fix header guard
Timm Bäder [Fri, 21 Aug 2020 03:40:59 +0000 (05:40 +0200)]
spinbutton: Whitespace
Timm Bäder [Sat, 15 Aug 2020 12:27:24 +0000 (14:27 +0200)]
button: Use gtk_widget_class_add_shortcut directly
To show how that works
Timm Bäder [Sat, 15 Aug 2020 09:54:38 +0000 (11:54 +0200)]
button: Whitespace
Timm Bäder [Wed, 12 Aug 2020 04:55:33 +0000 (06:55 +0200)]
testadjustsize: Fix overlay/box confusion
Timm Bäder [Fri, 7 Aug 2020 04:54:16 +0000 (06:54 +0200)]
gsk: Fix border node diff implementation
This was showing up in the interactive constraint demo in gtk4-demo.
Piotr Drąg [Sat, 29 Aug 2020 08:55:11 +0000 (10:55 +0200)]
Update POTFILES.skip
Changwoo Ryu [Sat, 29 Aug 2020 03:57:33 +0000 (03:57 +0000)]
Update Korean translation
Changwoo Ryu [Sat, 29 Aug 2020 03:56:51 +0000 (03:56 +0000)]
Update Korean translation
Matthias Clasen [Sat, 29 Aug 2020 03:54:32 +0000 (03:54 +0000)]
Merge branch 'issue-3099' into 'master'
demo: Fix the resource path for css_pixbufs demo
Closes #3099
See merge request GNOME/gtk!2500
Emmanuele Bassi [Fri, 28 Aug 2020 17:37:26 +0000 (18:37 +0100)]
demo: Fix the resource path for css_pixbufs demo
Fixes: #3099
Asier Sarasua Garmendia [Fri, 28 Aug 2020 10:26:30 +0000 (10:26 +0000)]
Update Basque translation
Timm Bäder [Sat, 8 Aug 2020 19:11:38 +0000 (21:11 +0200)]
gtk4-demo: Add background to CSS Basics demo
So people can at least read the textview contents
Matthias Clasen [Fri, 28 Aug 2020 00:49:55 +0000 (20:49 -0400)]
NEWS: Updates
Matthias Clasen [Thu, 27 Aug 2020 20:24:34 +0000 (20:24 +0000)]
Merge branch 'synthetic-motion' into 'master'
Synthetic motion
See merge request GNOME/gtk!2493
Matthias Clasen [Wed, 26 Aug 2020 11:57:07 +0000 (07:57 -0400)]
idle sizer: Request a motion event after layout
When we are reallocating widgets, make sure that
we get a motion event in the next frame cycle,
so the hover state gets updated.
Jordi Mas [Thu, 27 Aug 2020 18:54:16 +0000 (20:54 +0200)]
Update Catalan translation
Matthias Clasen [Fri, 21 Feb 2020 21:38:36 +0000 (16:38 -0500)]
Add a function to request motion events
We want to ensure that the pointer position is reflected
when widget geometry changes, so add a function that tells
GDK "please create a motion event at the current position
on this surface, if one doesn't happen already".
Matthias Clasen [Thu, 27 Aug 2020 17:04:34 +0000 (17:04 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
bookmarksmanager: Cancel async reads properly
See merge request GNOME/gtk!2495
Matthias Clasen [Thu, 27 Aug 2020 16:34:02 +0000 (12:34 -0400)]
bookmarksmanager: Cancel async reads properly
This was causing the objects-finalize test to fail in ci.
Matthias Clasen [Thu, 27 Aug 2020 12:12:52 +0000 (12:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Don't export gdk_surface_constrain_size
See merge request GNOME/gtk!2494
Matthias Clasen [Thu, 27 Aug 2020 11:31:45 +0000 (07:31 -0400)]
Don't export gdk_surface_constrain_size
It has one last use in gtkwindow.c, but that will
go away and doesn't need this function to be exported
anyway.
Kukuh Syafaat [Thu, 27 Aug 2020 03:03:54 +0000 (03:03 +0000)]
Update Indonesian translation
Matthias Clasen [Thu, 27 Aug 2020 00:08:45 +0000 (00:08 +0000)]
Merge branch 'wip/carlosg/shuffle-font-mouse-settings' into 'master'
Look up font and mouse settings in gsettings-desktop-schemas
See merge request GNOME/gtk!2489
Matthias Clasen [Wed, 26 Aug 2020 23:44:15 +0000 (23:44 +0000)]
Merge branch 'wip/exalm/hotspot-fix' into 'master'
wayland: Fix dnd hotspot movement
See merge request GNOME/gtk!2492
Alexander Mikhaylenko [Wed, 26 Aug 2020 23:04:48 +0000 (04:04 +0500)]
wayland: Fix dnd hotspot movement
_gdk_wayland_surface_offset_next_wl_buffer() moves the surface relatively
to its current position, pass it a delta instead of new position.